#ifndef _USART_H
#define _USART_H
#include "board.h"

#pragma pack(1)


struct bluetooth_Recv_Struct_t
{
	uint8_t frameHeader; //0xA5
	int Rock_CH[4];
};

struct bluetooth_Send_Struct_t
{
	uint8_t frameHeader; //0xA5
};

#pragma pack()//便于内存对齐

extern struct bluetooth_Recv_Struct_t bluetooth_RecvStruct;
extern struct bluetooth_Send_Struct_t bluetooth_SendStruct;

/*串口1-板载TTL*/
void USART1_Init(void);
void USART1_DMA_Send(void);
void USART1_IRQHandler(void);

/*串口3-用作蓝牙模块通讯*/
void USART3_Init(void);
//void USART3_DMA_Send(void);
void USART3_IRQHandler(void);



#endif
